<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="/paginas/masterPage.xhtml">
	<ui:define name="conteudo"> 	
	
 		<h:outputLabel value="Visualizar Substância"
					styleClass="titulo" /> 
					<hr></hr>
					<br></br>
 		
 		<p:messages id="msgs" showDetail="true" />
 		
 		<h:form id="frmCadastroSubstancia" prependId="false">
 		<p:panel> 
 			<p>
	 			<h:outputLabel value="Substância " styleClass="OutputLabelCampo" />
	 			<h:outputLabel value="#{substanciaBean.substancia.descricao}"  />
		     	
	 		</p>
 		
 		<p class="buttonPosition">
 			<p:commandButton action="#{substanciaBean.irParaEditarSubstancia}" value="Alterar"
						styleClass="botao" immediate="true" ajax="true"
						image="ui-icon ui-icon-pencil" /> 
			<p:commandButton
						action="#{substanciaBean.irParaConsultarSubstancia}" value="Voltar"
						immediate="true" ajax="true"
						image="ui-icon ui-icon-arrowreturnthick-1-w" /></p>
 		<div class="clear"></div>
 		</p:panel> 		 		 		
	</h:form>		
 	</ui:define> 
</ui:composition>
</html>